/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package canteen.sys.model.entity.repository;

import canteen.sys.model.entity.Item;
import canteen.sys.model.generic.GenericDAO;
import java.util.List;

/**
 *
 * @author TNT
 */
public interface ItemDAO extends GenericDAO<Item, Long> {

    public List<Item> findAllItemByAuthor(String author, boolean status);

    public List<Item> findAllItemByLanguage(String language, boolean status);

    public List<Item> findAllItemByOwner(String owner, boolean status);

    public List<Item> findAllItemByStore(String store, boolean type, boolean status);

    public List<Item> findAllItemByTypeOfUse(String typeOfUse, boolean status);

    public List<Item> findAllItemByStatusOfUse(String statusOfUse, boolean status);

    public List<Item> findAllItemByTypeOfRegulation(String typeOfRegulation, boolean status);
}
